/**
 * A holder for each User, it is empty when first created.
 */
package edu.gatech.stolen.tea;

import java.io.Serializable;



public class User implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 2L;
	private String username;
	private String password;
	private String firstName;
	private String lastName;
	private String mail;
	
	public User() {
		
		setUser(null);
		setPassword(null);
		setFirstName(null);
		setLastName(null);
		setMail(null);
		
	}
	
	public User(String username){
		setUser(username);
	}
	/**
	 * gets the username of this user
	 */
	public String getUser() {
		
		return username;
		
	}
	
	/**
	 * sets the username of this user
	 */
	public void setUser(String string) {
		
		this.username = string;
		
	}
	
	/**
	 * gets the password used by this user to login to this application
	 */
	public String getPassword() {
		
		return password;
		
	}
	
	/**
	 * sets the password used by this user to login to this application
	 */
	public void setPassword(String string) {
		
		this.password = string;
		
	}
	
	/**
	 * gets the first name of this user
	 */
	public String getFirstName() {
		
		return firstName;
		
	}
	
	/**
	 * sets the first name of this user
	 */
	public void setFirstName(String string) {
		
		this.firstName = string;
		
	}
	
	/**
	 * gets the last name of this user
	 */
	public String getLastName() {
		
		return lastName;
		
	}
	
	/**
	 * sets the last name of this user
	 */
	public void setLastName(String string) {
		
		this.lastName = string;
		
	}
	
	/**
	 * gets the email that this user used to register
	 */
	public String getMail() {
		
		return mail;
		
	}
	
	/**
	 * sets the email that this user used to register
	 */
	public void setMail(String string) {
		
		this.mail = string;
		
	}
	
	
	
}
